package com.unionx.unionxuf.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.unionx.unionxuf.common.BillPram;
import com.unionx.unionxuf.common.Zhuangtai;
import com.unionx.unionxuf.entity.BillMain;
import com.unionx.unionxuf.entity.CropDTD;

@Service
public interface BillMainService {
	
	public Object getPros(Integer pageSize,Integer pageNumber);
	 
	public int saveBillmain(BillMain b);

	public Object getBillsubList(String cropid, String serialno);

	public Object getBillamin(String cropid, String serialno);

	public Object getBillaminList(String cropid, String serialno);

	public Object getStList(String cropid, String serialno);

	public Object getRmList(String cropid, String serialno);

	public Map<String, Object> getP(BillPram b);

	public Object getProbyLsandCids(HttpServletRequest request,String cropid, String serialno,String zhuangtai);

	public Object getProbyLsandCid(HttpServletRequest request,String cropid, String serialno,String zhuangtai);

	public Map<String, Object> getP3(Zhuangtai z);

	public Object getP4(HttpServletRequest request, int pageSize, int pageNum, String cropid);

	public List<String> saveR(HttpServletRequest request, String cid, String lsh, String sz);

	public Object updateCtype(HttpServletRequest request, String cropid, String serialno, String string);

	public String findzhuangtai(CropDTD c);

	public int updateOb(BillMain b);

	public Object deleteBill(HttpServletRequest request, CropDTD c);

	public String selectBMType(CropDTD c);

	public Object updateCtype2(CropDTD c);

	public String selectBMshType(CropDTD c);



}





